package com.itheima.stock.propertis;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "limiter.config")
public class LimiterPropertis {

    /**
     * 允许每秒并发数量
     */
    private int concurrentNum;

}
